package com.todod.base.module.system.enums;

/**
 * System 操作日志枚举
 * 目的：统一管理，也减少 Service 里各种“复杂”字符串
 *
 * @author admin
 */
public interface LogRecordConstants {

    // ======================= SYSTEM_USER 用户 =======================

    String SYSTEM_USER_TYPE = "SYSTEM 用户";
    String SYSTEM_USER_CREATE_SUB_TYPE = "创建用户";
    String SYSTEM_USER_CREATE_SUCCESS = "创建了用户【{{#user.nickname}}】";
    String SYSTEM_USER_UPDATE_SUB_TYPE = "更新用户";
    String SYSTEM_USER_UPDATE_SUCCESS = "更新了用户【{{#user.nickname}}】: {_DIFF{#updateReqVO}}";
    String SYSTEM_USER_DELETE_SUB_TYPE = "删除用户";
    String SYSTEM_USER_DELETE_SUCCESS = "删除了用户【{{#user.nickname}}】";
    String SYSTEM_USER_UPDATE_PASSWORD_SUB_TYPE = "重置用户密码";
    String SYSTEM_USER_UPDATE_PASSWORD_SUCCESS = "将用户【{{#user.nickname}}】的密码从【{{#user.password}}】重置为【{{#newPassword}}】";

    // ======================= SYSTEM_ROLE 角色 =======================

    String SYSTEM_ROLE_TYPE = "SYSTEM 角色";
    String SYSTEM_ROLE_CREATE_SUB_TYPE = "创建角色";
    String SYSTEM_ROLE_CREATE_SUCCESS = "创建了角色【{{#role.name}}】";
    String SYSTEM_ROLE_UPDATE_SUB_TYPE = "更新角色";
    String SYSTEM_ROLE_UPDATE_SUCCESS = "更新了角色【{{#role.name}}】: {_DIFF{#updateReqVO}}";
    String SYSTEM_ROLE_DELETE_SUB_TYPE = "删除角色";
    String SYSTEM_ROLE_DELETE_SUCCESS = "删除了角色【{{#role.name}}】";

    // ======================= STUDY_PLAN学习计划  =======================

    String STUDY_PLAN_TYPE = "PLAN 学习计划管理";
    String STUDY_PLAN_CREATE_SUB_TYPE = "新增";

    String STUDY_PLAN_CREATE_SUCCESS = "新增学习计划【{{#studyPlan.planTitle}}】";
    String STUDY_PLAN_UPDATE_SUB_TYPE = "修改";
    String STUDY_PLAN_UPDATE_SUCCESS = "修改了学习计划【{{#studyPlan.planTitle}}】  {_DIFF{#updateReqVO}}";

    String STUDY_PLAN_DELETE_SUB_TYPE = "删除";
    String SYSTEM_PLAN_DELETE_SUCCESS = "删除了学习计划【{{#studyPlan.planTitle}}】";

    // ======================= STUDY_ADD_COURSE_RECORD 补课记录  =======================

    String STUDY_ADD_COURSE_RECORD_TYPE = "ADD_COURSE_RECORD 补课记录管理";
    String STUDY_ADD_COURSE_RECORD_SUB_TYPE = "新增";

    String STUDY_ADD_COURSE_RECORD_CREATE_SUCCESS = "新增补课记录【{{#addCourseRecord.studentName}}】";
    String STUDY_ADD_COURSE_RECORD_UPDATE_SUB_TYPE = "修改";
    String STUDY_ADD_COURSE_RECORD_UPDATE_SUCCESS = "修改了补课记录【{{#addCourseRecord.studentName}}】  {_DIFF{#updateReqVO}}";

    String STUDY_ADD_COURSE_RECORD_DELETE_SUB_TYPE = "删除";
    String STUDY_ADD_COURSE_RECORD_DELETE_SUCCESS = "删除了补课记录【{{#addCourseRecord.studentName}}】";

    // ======================= STUDY_CANCLE_CLASS 消课记录  =======================

    String STUDY_CANCLE_CLASS_TYPE = " 消课记录管理";
    String STUDY_CANCLE_CLASS_SUB_TYPE = "新增";

    String STUDY_CANCLE_CLASS_CREATE_SUCCESS = "新增消课记录【{{#cancleClass.className}}】";
    String STUDY_CANCLE_CLASS_UPDATE_SUB_TYPE = "修改";
    String STUDY_CANCLE_CLASS_UPDATE_SUCCESS = "修改了消课记录【{{#cancleClass.className}}】  {_DIFF{#updateReqVO}}";

    String STUDY_CANCLE_CLASS_DELETE_SUB_TYPE = "删除";
    String STUDY_CANCLE_CLASS_DELETE_SUCCESS = "删除了消课记录【{{#cancleClass.className}}】";

    // ======================= ENTRANCE_EXAM 入学测试  =======================

    String ENTRANCE_EXAM_TYPE = "ENTRANCE_EXAM 入学测试管理";
    String ENTRANCE_EXAM_SUB_TYPE = "新增";

    String ENTRANCE_EXAM_CREATE_SUCCESS = "新增入学测试【{{#entranceExam.studentName}}】";
    String ENTRANCE_EXAM_UPDATE_SUB_TYPE = "修改";
    String ENTRANCE_EXAM_UPDATE_SUCCESS = "修改了入学测试【{{#entranceExam.studentName}}】  {_DIFF{#updateReqVO}}";

    String ENTRANCE_EXAM_DELETE_SUB_TYPE = "删除";
    String ENTRANCE_EXAM_DELETE_SUCCESS = "删除了入学测试【{{#entranceExam.studentName}}】";

    // ======================= MONTH_EXAM 月考  =======================

    String MONTH_EXAM_TYPE = "MONTH_EXAM 月考管理";
    String MONTH_EXAM_SUB_TYPE = "新增";

    String MONTH_EXAM_CREATE_SUCCESS = "新增月考【{{#monthExam.studentName}}】";
    String MONTH_EXAM_UPDATE_SUB_TYPE = "修改";
    String MONTH_EXAM_UPDATE_SUCCESS = "修改了月考【{{#monthExam.studentName}}】  {_DIFF{#updateReqVO}}";

    String MONTH_EXAM_DELETE_SUB_TYPE = "删除";
    String MONTH_EXAM_DELETE_SUCCESS = "删除了月考【{{#monthExam.studentName}}】";

    // ======================= FOLLOW_UP_MANAGE 回访管理  =======================

    String FOLLOW_UP_MANAGE_TYPE = "FOLLOW_UP_MANAGE 回访管理";
    String FOLLOW_UP_MANAGE_SUB_TYPE = "新增";

    String FOLLOW_UP_MANAGE_CREATE_SUCCESS = "新增回访管理【{{#followUpManage.studentName}}】";
    String FOLLOW_UP_MANAGE_UPDATE_SUB_TYPE = "修改";
    String FOLLOW_UP_MANAGE_UPDATE_SUCCESS = "修改了回访管理【{{#followUpManage.studentName}}】  {_DIFF{#updateReqVO}}";

    String FOLLOW_UP_MANAGE_DELETE_SUB_TYPE = "删除";
    String FOLLOW_UP_MANAGE_DELETE_SUCCESS = "删除了回访管理【{{#followUpManage.studentName}}】";


    // ======================= TEACH_COURSE_MANAGE 课程管理  =======================

    String TEACH_COURSE_MANAGE_TYPE = "TEACH_COURSE_MANAGE 课程管理";
    String TEACH_COURSE_MANAGE_SUB_TYPE = "新增";

    String TEACH_COURSE_MANAGE_CREATE_SUCCESS = "新增课程管理【{{#teachCourseManage.courseName}}】";
    String TEACH_COURSE_MANAGE_UPDATE_SUB_TYPE = "修改";
    String TEACH_COURSE_MANAGE_UPDATE_SUCCESS = "修改了课程管理【{{#teachCourseManage.courseName}}】  {_DIFF{#updateReqVO}}";

    String TEACH_COURSE_MANAGE_DELETE_SUB_TYPE = "删除";
    String TEACH_COURSE_MANAGE_DELETE_SUCCESS = "删除了课程管理【{{#teachCourseManage.courseName}}】";

    // ======================= TEACH_CLASS_MANAGE 课程管理  =======================

    String TEACH_CLASS_MANAGE_TYPE = "TEACH_CLASS_MANAGE 班级管理";
    String TEACH_CLASS_MANAGE_SUB_TYPE = "新增";

    String TEACH_CLASS_MANAGE_CREATE_SUCCESS = "新增班级管理【{{#teachClassManage.className}}】";
    String TEACH_CLASS_MANAGE_UPDATE_SUB_TYPE = "修改";
    String TEACH_CLASS_MANAGE_UPDATE_SUCCESS = "修改了班级管理【{{#teachClassManage.className}}】  {_DIFF{#updateReqVO}}";

    String TEACH_CLASS_MANAGE_DELETE_SUB_TYPE = "删除";
    String TEACH_CLASS_MANAGE_DELETE_SUCCESS = "删除了班级管理【{{#teachClassManage.className}}】";


    // ======================= STUDY_LEAVE_MANAGEMENT 课程管理  =======================

    String STUDY_LEAVE_MANAGEMENT_TYPE = "STUDY_LEAVE_MANAGEMENT 请假管理";
    String STUDY_LEAVE_MANAGEMENT_SUB_TYPE = "新增";

    String STUDY_LEAVE_MANAGEMENT_CREATE_SUCCESS = "新增请假【{{#studyLeaveManagement.studentName}}】";
    String STUDY_LEAVE_MANAGEMENT_UPDATE_SUB_TYPE = "修改";
    String STUDY_LEAVE_MANAGEMENT_UPDATE_SUCCESS = "修改了请假【{{#studyLeaveManagement.studentName}}】  {_DIFF{#updateReqVO}}";

    String STUDY_LEAVE_MANAGEMENT_DELETE_SUB_TYPE = "删除";
    String STUDY_LEAVE_MANAGEMENT_DELETE_SUCCESS = "删除了请假【{{#studyLeaveManagement.studentName}}】";
}
